package edu.caece.algo2.tp.event;

import edu.caece.algo2.tp.hospital.Hospital;

public class InformeTransitoListenerHospital implements InformeTransitoListener {

	private Hospital hospital;
	
	public InformeTransitoListenerHospital(Hospital hospital){
		this.hospital = hospital;
	}
	
	@Override
	public void handle(InformeTransitoEvent event) {
		this.hospital.recalcularRecorridos();
	}

}
